package com.baozhun.mall.common.util

/**
 * @Title：常量类
 * @Description：
 * @Author：xuefeng.zhu
 * @Since：2022/11/4
 * @Version：1.0.0
 */
object Constants {

    object Common {
        const val PRELOAD_COUNT: Int = 10
        const val YYYY_MM_DD_FORMAT: String = "yyyy-MM-dd"
        const val MONEY_TAG: String = "￥"
        const val MONEY_TAG2: String = "¥"
        const val BUNDLE_NAME = "bundle"
        const val IS_SELECT_ADDRESS = "is_select_address"
        const val EXIT_APP_TIME = 2000 //app退出时间
        const val TOKEN_INVALID = 401 //token失效code
        const val COUPON_OPTION: String = "couponOption"
        const val TITLE: String = "title"
        const val COUPON_TYPE: String = "couponType"
        const val DATE_FORMAT_MM_SS = "mm:ss"
        const val DATE_FORMAT_HH_MM_SS = "HH:mm:ss"
        const val DATE_FORMAT_CONFIRM_RECEIVE = "dd天 HH:mm:ss"
        const val DATA_SOURCE = "data_source"
        const val PDD_PACKAGE_NAME = "com.xunmeng.pinduoduo"
        const val TB_PACKAGE_NAME = "com.taobao.taobao"
        const val JD_PACKAGE_NAME = "com.jingdong.app.mall"
        const val API_TYPE = "api_type"


        /**
         * 没页item数量
         */
        const val PAGE_SIZE = 15
        const val TYPE_ACTIVITY = "1" // 专题
        const val TYPE_TOPIC = "2" // 营销活动
        const val TYPE_CLASSIFY = "3" // 分类


    }

    object Url {
        const val ON_LINE_CUSTOMER_SERVICE_URL: String =
            "https://webchat-sh.clink.cn/chat.html?accessId=e75faabc-55be-42e3-bcb4-3b0b4bc534d4&language=zh_CN" //在线客服url
        const val USER_PROTOCOL: String = "https://www.houjimall.com/agreement.html" //用户协议
        const val PRIVACY_PROTOCOL: String = "https://www.houjimall.com/policy.html" //隐私协议
        const val GIFT_POINT_PROTOCOL: String = "https://www.houjimall.com/balance-agreement.html" //同意平台发放预支积分协议
        const val AUTH_PROTOCOL: String = "https://www.houjimall.com/credit-agreement.html" //授权协议
        const val ABOUT_US: String = "https://www.houjimall.com/about.html" //关于我们
        const val MINE_INVITE_CODE: String = "https://www.houjimall.com/about.html" //我的邀请码
    }

    object Goods {
        const val GOODS_ID = "goodsId"
        const val IS_SELF = "isSelfGoods"
        const val GOODS_TYPE = "goodsType"
        const val GOODS_SOURCE = "goodsSource"
        const val GOODS_SKU = "goodsSku"
        const val GOODS_NUM = "goodsNum"
        const val USE_INTEGRAL = "useIntegralDeduction"
        const val GOODS_INFO = "GoodsInfoBean"
    }

    object SCHEME {
        const val HOME = "home"
        const val WAP = "activity"
        const val CAT_GOODS_LIST = "catGoodsList"
        const val EXCHANGE_ZONE = "exchangeZone"
        const val GOODS_DETAIL = "goodsDetail"
    }

    object Order {
        const val ORDER_ID = "order_id"
        const val IS_INTEGRAL_ORDER = "isIntegral"
        const val IS_AFTER_SALE_ORDER = "isAfterSaleOrder"
        const val ORDER_STATUS = "order_status"
        const val REFUND_ID = "refund_id"
        const val REFUND_TYPE = "refund_type"
        const val ONLY_RETURN_MONEY = "isOnlyReturnMoney"
        const val LOGISTICS_INFO = "logistics_info"
        const val IS_SINGLE_LOGISTICS = "isSingleLogistics"
        const val IS_SEARCH_ORDER = "isSearchOrder"
        const val INTEGRAL_RETURN_RELATED_ORDER = "integralReturnRelatedOrder" // 订单归还计划关联订单
        const val INTEGRAL_RETURN_BILL_ID = "integralReturnBillId" // 订单归还计划账单ID
    }

    object Me {
        const val ADDRESS_INFO: String = "address_info"
        const val COLLECTION_TYPE = "collection_type"
        const val INVOICE_INFO = "invoice_info"
    }

    object SPKey {
        const val CHOOSE_SEX = "choose_sex"
        const val VERIFY_CODE = "verify_code"
        const val TICKET = "ticket"
        const val CODE = "code"
    }

    object Payment {
        const val ALIPAY = "alipay"
        const val WX_PAY = "wxPay"
    }

    object RequestCode {
        const val REQUEST_CODE_SELECT_ADDRESS = 10
    }
}